<?php


class usuariosComponents extends sfComponents {

    public function executeDatos(){
    }
    public function executePersonales(){
      $this->medico = $this->getUser()->getUsuario();
    }
    public function executeAcceso(){
      $this->medico = $this->getUser()->getUsuario();
    }
    public function executeHorario(){
      $this->dias = DiaPeer::getActivosOrdenados();
      $this->aDias = Objetos::_toArray(HorarioPeer::getActivosByUsuarioId($this->getUser()->getUserId()),"getDiaId");
      $this->usuario_id = $this->getUser()->getUserId();
    }
    public function executeCambioHorario(){
    }
    public function executeHorarios(){
    }
}
?>
